const express = require("express");
const router = express.Router();
const WordController = require("../../controller/word/WrodController.js");

router.get("/tale/talelist", WordController.getWordList);

router.delete("/tale/talelist/:id", WordController.deleteWordListItem);

router.post("/tale/talelist", WordController.addWordList);

router.patch("/tale/talelist/:id", WordController.updateWordItem);

module.exports = router;
